FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ComboBoxCellType Class > ComboBoxCellType Constructor : ComboBoxCellType Constructor(String[],String[]) |
'Usage Dim items() As String Dim values() As String Dim instance As New ComboBoxCellType(items, values)
string[] cbstr; string[] strval; cbstr = new String[] {"One", "Two", "Three"}; strval = new String[] {"1", "2", "3"}; FarPoint.Web.Spread.ComboBoxCellType cb = new FarPoint.Web.Spread.ComboBoxCellType(cbstr, strval); FpSpread1.ActiveSheetView.Columns[0].CellType = cb;
Dim cbstr As String() cbstr = New String() {"One", "Two", "Three"} Dim strval As String() strval = New String() {"1", "2", "3"} Dim cb As New FarPoint.Web.Spread.ComboBoxCellType(cbstr, strval) FpSpread1.ActiveSheetView.Columns(0).CellType = cb
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional